package 
{
	import flash.display.Sprite;
	import flash.events.Event;
	import org.flixel.*;
	
	import flash.display.StageScaleMode;
	import flash.display.StageDisplayState;
	/**
	 * ...
	 * @author Enric Llagostera
	 * @author Joon
	 */

	[SWF(width = "640", height = "360", backgroundColor = "#000000")]
	[Frame(factoryClass = "Preloader")]
	
	public class Main extends FlxGame
	{
		
		public function Main() {
			super(640, 360, MenuState, 1, 60, 60, true);
		}
		
		
      override protected function create(FlashEvent:Event):void
        {
            super.create(FlashEvent);
			stage.scaleMode = StageScaleMode.SHOW_ALL;
			stage.displayState = StageDisplayState.FULL_SCREEN;
			stage.align = '';
        }				
	}
	
}